package com.guaniu.voip.ui.main;

import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.fragment.app.Fragment;

import com.guaniu.voip.R;
import com.guaniu.voip.sip.SipManager;

/**
 * Created by Jay on 2015/8/28 0028.
 */
public class MyFragment3 extends Fragment implements View.OnClickListener {

    public MyFragment3() {
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.activity_home,container,false);

        TextView sip_id = view.findViewById(R.id.user_phone_number);
        sip_id.setText(SipManager.getInstance().getMyAccount());

        View item_3 = view.findViewById(R.id.item_3);
        item_3.setOnClickListener(this);

        return view;
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.item_3:
            {

            }
            break;
        }
    }
}
